package cn.gson.springboot.model.dao;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.springboot.model.pojos.DestructionYk;

public interface DestructionYkDAO extends CrudRepository<DestructionYk, Integer>{
	//修改
	@Query("select d from DestructionYk d where d.destructionId=?1")
	public DestructionYk idxgai(Integer destructionId);
}
